package com.yourwork.service;

import org.springframework.data.domain.Page;

import com.yourwork.model.Clientele;

public interface ClienteleService {
	//分页查询
	public Page<Clientele> queryCustomer(int page, int size);
	//按userName查询
	public Clientele quserCUserName(String userName);
	//修改用户信息
	public String updateCustomer(Clientele customer);
	//添加新的用户
	public String insertCustomer(Clientele customer);
	//获取用户总数
	public int countCustomer();
	//返回最大页数
	public int queryMaxPage(int page, int size);

}
